package com.kingtsoft.study.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.beans.Transient;
import java.io.Serializable;
import java.util.Date;

/**
 * Title:
 * Description:
 * Copyright: Copyright (c) 2017-04-01 下午1:36
 * Company: wondersgroup.com
 *
 * @author jerry.pan(潘健雷)
 * @version 1.0
 */
public class StudyHomeworkModel implements Serializable{
    /**
	 * @fieldName: serialVersionUID
	 * @fieldType: long
	 * @Description: TODO
	 */
	private static final long serialVersionUID = 1L;

	/**
     * 截止日期开始(包括当天)
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deadlineDateStart;

    /**
     * 截止日期结束(包括当天)
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deadlineDateEnd;

    @Transient
    public Date getDeadlineDateStart() {
        return deadlineDateStart;
    }

    public void setDeadlineDateStart(Date deadlineDateStart) {
        this.deadlineDateStart = deadlineDateStart;
    }

    @Transient
    public Date getDeadlineDateEnd() {
        return deadlineDateEnd;
    }

    public void setDeadlineDateEnd(Date deadlineDateEnd) {
        this.deadlineDateEnd = deadlineDateEnd;
    }
}
